package com.itc.bpm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itc.bpm.bean.BpmModel;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface BpmModelMapper extends BaseMapper<BpmModel> {

    @Update("update bpm_model set status=1 where bpm_key=#{key} and status!=1")
    Integer updateHistoryForm(@Param("key") String key);
}
